<?php
require_once "filter.php";
require_once "Connection.php";
session_start();

$conn = new Connection();

$data = $conn->deleteCategory($_POST['category_id']);
echo json_encode($data);

?>